import { USER_LOGIN, USER_LOGOUT, SOCKET_INIT } from '../actionTypes';

export const login = (userInfo) => ({
  type: USER_LOGIN,
  payload: userInfo,
});

export const logout = () => ({
  type: USER_LOGOUT,
});

export const socketInit = (socketIns) => ({
  type: SOCKET_INIT,
  payload: socketIns,
});
